<template>
    <div class="section" >
      <div class="title">{{news.title}}</div>
      <div v-html="news.body"></div>
    </div>
</template>
<style :src="news.css[0]"></style>
<style>
   .section{
      width:1000px;
      height:100%;
      margin:0 auto;
   }
</style>
<script>
    export default{
       data(){
          return{
              news:{}
          }
      },
      created() {
      console.log(this.$route)
        this.$http.get('/api/4/news/9111269')
        .then(function(response){
                this.news=response.body;
                console.info(this.news);
            },function(error){
               //error
             });
      },
    }
</script>
